package main

import (
	"log"
	"net/http"
)

func indexHandler(w http.ResponseWriter, r *http.Request) {

	w.Write([]byte("test"))
	return
}

func main() {
	http.HandleFunc("/", indexHandler)
	// http.HandleFunc("/other", otherHandler)
	err := http.ListenAndServe(":8880", nil)
	if err != nil {
		log.Fatal("ListenAndServe: ", err.Error())
	}
}
